package com.powernode.feign;

import com.powernode.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "member-service")
public interface ProdToMemberFeign {

    @PostMapping("/p/user/loadUserById")
    List<User> loadUserById(@RequestBody List<String> userIds);
}
